﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyCode.Project.Domain.Dtos.Request.Act
{
    /// <summary>
    /// 在线支付的类
    /// </summary>
    public class PayOrderAct
    {
        /// <summary>
        /// 主键ID，新增时不传，修改时传
        /// </summary>
        public Guid? ID { get; set; }

        /// <summary>
        /// Desc:支付方式。 11=支付宝；12=微信;      
        /// </summary>       
        public int? PayMode { get; set; }

        /// <summary>
        /// 用户展示的付款条码或者二维码信息
        /// </summary>
        public string Auth_code { get; set; }

        /// <summary>
        /// 扫码方式  1 = 主动扫用户付款码，2 =  用户扫商家收款码
        /// </summary>
        public int? ScanType { get; set; }

    }

    /// <summary>
    /// H5微信支付申请参数
    /// </summary>
    public class H5WxPayOrderAct
    {
        /// <summary>
        /// 
        /// </summary>
        public string Appid { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Access_token { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Openid { get; set; }
        /// <summary>
        /// 支付订单的ID
        /// </summary>
        public string Orderid { get; set; }

    }
}
